package com.example.bidding.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 小许
 * @Title:
 * @Package
 * @Description:
 * @date 2020/11/24-19:03
 */
@FeignClient(value = "message",fallback = MessageFeignFallBack.class)
public interface MessageFeign {
    @RequestMapping("/sendMessage")
    public void sendMessage(@RequestParam String orderNo);
}
